import request from '@/utils/request'

export default{
 
    createOrder(courseId){
        return request({
            url: `/orderservice/order/createOrder/${courseId}`,
            method: 'get'
            })
    },
  
    getOrderInfo(orderNo){
        return request({
            url: `/orderservice/order/getOrderInfoById/${orderNo}`,
            method: 'get',
       
        })
    }

}
